package com.ymx.darling.datasource;

import java.util.Map;

/**
 * 保存构建DataSource的信息
 * @author 爱Java的小于
 */
public class DataSourceProperty {
    private final String dataSourceClassName;
    private final Map<String, String> propertyMap;

    public DataSourceProperty(String dataSourceClassName, Map<String, String> propertyMap) {
        this.dataSourceClassName = dataSourceClassName;
        this.propertyMap = propertyMap;
    }

    public Map<String, String> getPropertyMap() {
        return propertyMap;
    }

    public String getDataSourceClassName() {
        return dataSourceClassName;
    }
}
